<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Aladdin</title>
    <script src="https://cdn.staticfile.org/vue/2.4.2/vue.min.js"></script>
    <script src="https://cdn.bootcss.com/element-ui/2.4.11/index.js"></script>
    <link rel="stylesheet" href="https://cdn.bootcss.com/element-ui/2.4.11/theme-chalk/index.css"/>

    <style>
        .el-carousel__item h3 {
            color: #475669;
            font-size: 18px;
            opacity: 0.75;
            line-height: 300px;
            margin: 0;
        }

        .el-carousel__item:nth-child(2n) {
            background-color: #99a9bf;
        }

        .el-carousel__item:nth-child(2n+1) {
            background-color: #d3dce6;
        }

    </style>
</head>
<body>
<div id="app">
    <template>
        <el-carousel indicator-position="outside">
            <el-carousel-item v-for="item in items" :key="item">
                <h2>{{ item }}</h2>
            </el-carousel-item>
        </el-carousel>
    </template>
</div>
<script>
    new Vue({
        el:'#app',
        data:{
            items : [1,2,3]
        }
    });
</script>
</body>
</html>